package com.coconet.gas.vo.dw;

import java.io.Serializable;
import javax.persistence.*;

@Table(name = "out_time_task")
public class OutTimeTask implements Serializable {
    @Id
    private Integer id;

    /**
     * 任务名称
     */
    @Column(name = "task_name")
    private String taskName;

    /**
     * 描述
     */
    private String msg;

    /**
     * 扫描时间
     */
    @Column(name = "check_time")
    private String checkTime;

    private static final long serialVersionUID = 1L;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取任务名称
     *
     * @return task_name - 任务名称
     */
    public String getTaskName() {
        return taskName;
    }

    /**
     * 设置任务名称
     *
     * @param taskName 任务名称
     */
    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    /**
     * 获取描述
     *
     * @return msg - 描述
     */
    public String getMsg() {
        return msg;
    }

    /**
     * 设置描述
     *
     * @param msg 描述
     */
    public void setMsg(String msg) {
        this.msg = msg;
    }

    /**
     * 获取扫描时间
     *
     * @return check_time - 扫描时间
     */
    public String getCheckTime() {
        return checkTime;
    }

    /**
     * 设置扫描时间
     *
     * @param checkTime 扫描时间
     */
    public void setCheckTime(String checkTime) {
        this.checkTime = checkTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", taskName=").append(taskName);
        sb.append(", msg=").append(msg);
        sb.append(", checkTime=").append(checkTime);
        sb.append("]");
        return sb.toString();
    }
}